export class SearchInfo {
  keyword: string = ''
  searchRange: SearchRange = SearchRange.ALL

  constructor(keyword: string, searchRange: SearchRange) {
    this.keyword = keyword
    this.searchRange = searchRange
  }
}

export enum SearchRange {
  ALL = 0,
  RECEIVE = 1,
  SENDER = 2,
  SUBJECT = 3,
  FILE = 4
}
